package com.walljiang.ffvideohandle;

/**
 * 描述：
 *
 * @author walljiang
 * @since 2017/08/22 11:51
 */

public class JNIProxy {
    static {
        System.loadLibrary("native-lib");
    }

    private static JNIProxy instance;

    private JNIProxy(){}

    public  synchronized static JNIProxy getInstance(){
        if(instance == null){
            instance = new JNIProxy();
        }
        return instance;
    }

    public native String helloJni();

    public native int audioCut(String filePath,long startPosition,long endPosition);
}
